package factory;

public class Dog extends Animal {

	public Dog(String name) {
		this.name = name;
	}

	@Override
	public void move() {
		System.out.println("Dog: " + this.name + " running");
	}

}
